
/**
 * \file IdentCmp.h
 */
#include <AbsSyn/Ident.h>
#include <iostream>


/**
 * \class IdentCmp IdentCmp.h <Generator/Context/IdentCmp.h>
 *
 * \brief Ident compare functor
 */

struct IdentCmp{

	/**
	 * \brief compare left hand side with right hand side
	 * @param lhs
	 * @param rhs
	 * @return true if lhs == rhs
	 *
	 * @see IContext
	 */
	bool operator() (const Ident& lhs, const Ident& rhs) const
		{

			bool toRet = lhs.getIdentName() < rhs.getIdentName();
			return (toRet);
		}
};
